import {Routes,RouterModule} from '@angular/router';
import {NgModule} from '@angular/core';
import {HomePageComponent} from './homepage.component';

@NgModule({
    imports: [
        RouterModule.forRoot([
            {path: '', component: HomePageComponent},
            {path: 'datatable', loadChildren:'app/demo/datatable/datatabledemo.module#DataTableDemoModule'},
            {path: 'autocomplete', loadChildren:'app/demo/autocomplete/autocompletedemo.module#AutoCompleteDemoModule'},
            {path: 'editor', loadChildren:'app/demo/editor/editordemo.module#EditorDemoModule'},
            {path: 'inputtext', loadChildren:'app/demo/inputtext/inputtextdemo.module#InputTextDemoModule'},
            {path: 'checkbox', loadChildren:'app/demo/checkbox/checkboxdemo.module#CheckboxDemoModule'},
            {path: 'calendar', loadChildren:'app/demo/calendar/calendardemo.module#CalendarDemoModule'},
            {path: 'chips', loadChildren:'app/demo/chips/chipsdemo.module#ChipsDemoModule'},
            {path: 'dropdown', loadChildren:'app/demo/dropdown/dropdowndemo.module#DropdownDemoModule'},
            {path: 'inputswitch', loadChildren:'app/demo/inputswitch/inputswitchdemo.module#InputSwitchDemoModule'},
            {path: 'inputtextarea', loadChildren:'app/demo/inputtextarea/inputtextareademo.module#InputTextareaDemoModule'},
            {path: 'listbox', loadChildren:'app/demo/listbox/listboxdemo.module#ListboxDemoModule'},
            {path: 'inputmask', loadChildren:'app/demo/inputmask/inputmaskdemo.module#InputMaskDemoModule'},
            {path: 'multiselect', loadChildren:'app/demo/multiselect/multiselectdemo.module#MultiSelectDemoModule'},
            {path: 'password', loadChildren:'app/demo/password/passworddemo.module#PasswordDemoModule'},
            {path: 'radiobutton', loadChildren:'app/demo/radiobutton/radiobuttondemo.module#RadioButtonDemoModule'},
            {path: 'rating', loadChildren:'app/demo/rating/ratingdemo.module#RatingDemoModule'},
            {path: 'slider', loadChildren:'app/demo/slider/sliderdemo.module#SliderDemoModule'},
            {path: 'spinner', loadChildren:'app/demo/spinner/spinnerdemo.module#SpinnerDemoModule'},
            {path: 'selectbutton', loadChildren:'app/demo/selectbutton/selectbuttondemo.module#SelectButtonDemoModule'},
            {path: 'togglebutton', loadChildren:'app/demo/togglebutton/togglebuttondemo.module#ToggleButtonDemoModule'},
            {path: 'tristatecheckbox', loadChildren:'app/demo/tristatecheckbox/tristatecheckboxdemo.module#TriStateCheckboxDemoModule'},
        ])
    ],
    exports: [RouterModule]
})

export class AppRoutingModule {}
